/**
 * 
 */
package co.fitstart.admin.entity.usersource;

import co.fitstart.entity.site.Site;

/**
 * @author mohanlan
 *
 */
public class UserSourceTranser {
	
	private Site site;
	
	private String category;
	
	private int amount;
	
	private int arriveAmount;
	
	private int orderAmount;
	
	/**
	 * 
	 */
	public UserSourceTranser() {
	}
	
	public UserSourceTranser(Site site, String category) {
		this.site = site;
		this.category  = category;
		this.arriveAmount = 0;
		this.orderAmount = 0;
		this.amount = 0;
	}
	
	public UserSourceTranser addAmount() {
		this.amount = this.amount + 1;
		return this;
	}
	
	public UserSourceTranser addArrive() {
		this.arriveAmount = this.arriveAmount + 1;
		return this;
	}
	
	public UserSourceTranser addOrder() {
		this.orderAmount = this.orderAmount + 1;
		return this;
	}

	/**
	 * @return the site
	 */
	public Site getSite() {
		return site;
	}

	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @return the amount
	 */
	public int getAmount() {
		return amount;
	}

	/**
	 * @return the arriveAmount
	 */
	public int getArriveAmount() {
		return arriveAmount;
	}

	/**
	 * @return the orderAmount
	 */
	public int getOrderAmount() {
		return orderAmount;
	}

	/**
	 * @param site the site to set
	 */
	public void setSite(Site site) {
		this.site = site;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(int amount) {
		this.amount = amount;
	}

	/**
	 * @param arriveAmount the arriveAmount to set
	 */
	public void setArriveAmount(int arriveAmount) {
		this.arriveAmount = arriveAmount;
	}

	/**
	 * @param orderAmount the orderAmount to set
	 */
	public void setOrderAmount(int orderAmount) {
		this.orderAmount = orderAmount;
	}
}
